package com.qs.rocketmq.mb.utils;

/**
 * 响应json对象
 */
public class JsonResult {

    private boolean success = false;

    private Object returnObject = null;

    private long code = 200;

    private String message;

    public JsonResult() {

    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getReturnObject() {
        return returnObject;
    }

    public void setReturnObject(Object returnObject) {
        this.returnObject = returnObject;
    }

    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
